<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>揽收环节</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		#include("../wxJsCss.html")
		
	</head>
	<body>
		<div class="mui-content">
			<div class="mui-card">
				<ul class="mui-table-view">
					#if(expressinfo != null)
					<li class="mui-table-view-cell mui-collapse mui-active">
						<a class="mui-navigate-right" href="#">揽收详情</a>
						<div class="mui-collapse-content">
							<ul class="mui-table-view">
								<li class="mui-table-view-cell">
								快递单数：<span>#(expressinfo.size())</span>
								</li>
								<li class="mui-table-view-cell">
								包裹总数：<span>#(packageAccount??0)</span>
								</li>
								<li class="mui-table-view-cell">
								已扫描数：<span>#(packageScaned??0)</span>
								</li>
						</div>
					</li>
					#for(x:expressinfo)
					<li class="mui-table-view-cell mui-collapse">
						<a class="mui-navigate-right" href="#">单号：#(x.trackingID??0)
							#if(expresscontent.get(x.trackingID).size() != expressrecord.get(x.trackingID).size())
							<span class="mui-badge mui-badge-primary">缺包</span>
							#end
						</a>
						<div class="mui-collapse-content">
							<ul class="mui-table-view mui-table-view-chevron">
								<li class="mui-table-view-cell">
								始发网点：<span>#(x.source??0)</span>
								</li>
								<li class="mui-table-view-cell">
								目的网点：<span>#(x.destination??0)</span>
								</li>
								<li class="mui-table-view-cell">
								包裹总数：<span>#(expresscontent.get(x.trackingID).size())</span>
								</li>
								<li class="mui-table-view-cell">
								已验收：<span>#(expressrecord.get(x.trackingID).size())</span>
								</li>
								<li>
								<a href="get/reject?trackingID=#(x.trackingID)" class="mui-btn mui-btn-primary" role="button">
									退回银行
								</a>
								</li>
							</ul>
						</div>
					</li>
					#end
					<li class="mui-table-view-cell">
					<br>
						<a href="get/finish" class="mui-btn mui-btn-primary" role="button">
							揽收完成
						</a>
					</li>
					#else
					<li class="mui-table-view-cell">
					请直接开始扫码，系统将自动识别包裹所属的快递单
					</li>
					#end
				</ul>
			</div>
		</div>
		<script>
			mui.init({
				swipeBack:true //启用右滑关闭功能
			});
		</script>
	</body>

</html>